set term pdf enhanced fontscale 0.5
set key left top
#set pointsize 0.5
set output "timetosolve-2elevators.pdf"
set xlabel "Number of floors"
set ylabel "Time(mins)"

set style line 101 lt 2 lc rgb "purple" lw 2 pt 2
set style line 102 lt 6 lc rgb "brown"  lw 2 pt 6

#set title "Time for exact solution - 2 elevators"
plot "vi.txt" using 1:6 w linespoints lt 1 pt 8 lw 2 title "SPUDD", \
	"vic.txt" using 1:6 w linespoints linestyle 101 title "FAR", \
	"cut200.txt" using 1:6 w linespoints lt 3 pt 3 lw 2 title "MBFAR(200)",\
	"cutdot1e5.txt" using 1:6 w linespoints lt 4 pt 4 lw 2 title "MBFAR(10000)", \
	"cut1e5.txt" using 1:6 w linespoints lt 17 pt 10 lw 2 title "MBFAR(1e5)",\
	"cut5e5.txt" using 1:6 w linespoints linestyle 102 title "MBFAR(5e5)", \
	"maxd.txt" using 1:6 w linespoints lt 7 pt 12 lw 2 title "V_H"
	#"viaadd.txt" using 1:6 w linespoints title "VI-AADD", \
	#"vicaadd.txt" using 1:6 w linespoints title "VIC-AADD"	